import {
	SETBANNER
} from '../actions/banner';

function banner(state = {
	home_banner: [],
	live_banner: []
}, action) {
	switch (action.type) {
		case SETBANNER:
			return Object.assign({},state, {
				home_banner: action.home_banner,
				live_banner: action.live_banner,
			});
		default:
			return state
	}
}

export default banner;